LOTUS 123 and print commands

We have an old version of Lotus 123. In it there are macros that control printing and the paper tray that is used. We are trying to print to a new printer and it won't toggle between trays. Is there another command we can use that the new printer will understand?

We are on Lotus 123 release 5. (.wk4 extension) and it's a HP Laserjet 600.
phiadminAsked:
Who is Participating?
 
hdhondtCommented:
Correct, Lotus is not the problem.

I don't know how to specify printer codes in Lotus, but the only problem will be the Esc character. You will probably have to enter it in hex, as something like 1BH.  If you look through the current commands in the macros you should see other instances of Esc. It's 1B hex, 27 decimal, and 33 octal. One of these should be showing repeatedly.

The tray commands should use the sequence I gave, and all you need to do is to change the number for the tray (the # in my previous post). I could not find the magic numbers for the LJ600 on the web, so you may need to call HP.
0
 
hdhondtCommented:
The LJ600 understands PCL5, so any PCL5 commands can be used to select trays.

Unfortunately, modern printers are a lot more particular when it comes to trays & paper. You need to tell them explicitly what you want. To select a tray, PCL uses the "paper source" command,

Esc&l#H

where Esc is the Esc character (hex 1B, decimal 27) and # is the number for the tray. This number is printer specific, and is not usually the number referred to in the user manual. The PCL5 Reference Manual has more details, but we need to find the number is for the tray you want to use. That may be available on the web, or you may need to ask HP.

Which tray(s) do you want to select?
0
 
phiadminAuthor Commented:
The macro has two parts where it is specifing the tray. In one part it's tray 2, another it's tray 3.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
phiadminAuthor Commented:
hdhondt: It's been a while since I've done any kind of coding or programming using PCL codes. I have found the PCL5 reference manual and the section on paper source. For clarification, it's not the old Lotus that's really the issue, it's the command within Lotus that we are using that is out of date, correct?
0
 
phiadminAuthor Commented:
I have been scouring the web as well for the number. I thought I had found the ones to use (HP website) but I think I will call as testing hasn't netted anything yet. And so far there don't seem to be any other macro commands that use the hex values. All others are "english" commands.  I think I many need to see if I can get Lotus loaded onto my computer as it's hard to go to another's computer and try to have them test them.
0
 
phiadminAuthor Commented:
I contacted HP ... I got a bunch of documents to read through.Some are contradicting each other as to the value. In one of the documents, it said for Lotus to use \027 as the escape code.

So far, no matter what I've used, it hasn't worked. On the macro the line looks like this;

{set "printer-setup-bins", "Tray 3"}

I've tried substituting these different values.
{set "printer-setup-bins", "1B&l5H"}
{set "printer-setup-bins", "\027&l5H"}
{set "printer-setup-bins", "027&l5H"}

I've also tried the digit 4 instead of 5 since I have conflicting documentation. Any other ideas or suggestions?








0
 
hdhondtCommented:
As the original macro says
{set "printer-setup-bins", "Tray 3"}
instead of a PCL command, it seems to me that there is more going on here. Somehow the string "Tray 3" is getting converted into the PCL command sequence. So there should be another macro that does that. Can you list the names of all the macros involved?

Of course, we've been assuming the old printer used PCL. What make & model was the old printer?
0
 
phiadminAuthor Commented:
I have been able to validate that Lotus is ok and it's all about the printer settings and driver. I installed an old driver and changed a setting on the printer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.