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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.