SCO 5.0.5 and Toshiba eStudio

Hi there guys and gals.

I have me a near new Toshiba eStudio 2500c.

I am having problems however.

i cannot print landscape? portrait comes out fine.

I have followed the Instructions on install to the letter.

when i print i try the following

lp -dToshibal -o LANDSCAPE /etc/printcap
lp -o LANDSCAPE -dToshibal /etc/printcap
lp -dToshibal -o landscape /etc/printcap
lp -dToshibal -ol /etc/printcap

none of these work?

Is there any way to select the raw Queue Name from a printer? similar to a hp directjet lpd/lpr port. cause if i can do that then i can force the queues on the unit to print on a select orientation.

Does the contents of /etc/printcap show two different print destinations?
It would seem that:
lp -dtoshibal file
would be enough.
If the printer has two print queues, one for portrait and one for landscape, then set up two lpr/lpd printers in SCO using the same IP address and different printer names.
You can also ftp to the printer and run an ls command to find out the directories (queues) that are available.
If that doesn't work, and the printer supports PCL then you could add the escape sequences to the beginning of the print file.

thanks. jgt. where does one setup lpr/lpd printers. i will google/read my sco manual but if you know any pointers that would be good.

should have added we are using lp to print. the unit does support pcl but what are the escape sequences?

ok i have tried this

no new results the printer specified to be the landscape printer still prints in portrait.

which part of the setup refers to the printers lpr queue name?

i have tried setting in the interface file the lpr port to be the LPR queue name on the printer "Toshibal", but to no avail.

i am happy to set this up from scrath if needs be,

Go to scoadmin->printers->printer manager->printer->add remote->unix
Enter the IP address, or name from /etc/hosts for the host name
Enter queue name for the printer name.
Un-mark "Use extended remote printing...."
The lp destination name will be the printer name from above.
Use the following script to create a file to prefix to your print file:

echo "\033E\c" #reset
echo "\033&k2G\c" #turn carriage return on
echo "\033&l1O\c" #landscape mode
echo "\033&l5.45C\c" #66 lines per page
echo "\033(s15H" #13 characters per inch

This should allow you to print a standard 15x11 computer printout on 11x81/2 paper.
In lines three and four of the script the letter after the ampersand is an ell