The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SCO
Google UNIX.COM


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
can't install solaris 10 on toshiba laptop slimydoom SUN Solaris 2 04-16-2008 12:41 AM
Toshiba Laptops Get Wireless Dock - Washington Post iBot UNIX and Linux RSS News 0 07-25-2007 04:30 PM
Touchpad not working - SuSE 8.2 - Toshiba Satellite A30 zazzybob Linux 3 09-15-2004 02:04 PM
Toshiba laptop gennaro UNIX for Dummies Questions & Answers 6 09-10-2001 08:43 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-02-2007
Registered User
 

Join Date: Apr 2006
Posts: 5
Question 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.

Quote:
Originally Posted by Printcap file
Toshibal:\
:lp=:rm=Toshibal:rp=Land:sd=/usr/spool/lpd/Toshiba:

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.
Reply With Quote
Forum Sponsor
  #2  
Old 07-05-2007
jgt jgt is offline
Registered User
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 348
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.
Reply With Quote
  #3  
Old 07-05-2007
Registered User
 

Join Date: Apr 2006
Posts: 5
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.
Reply With Quote
  #4  
Old 07-05-2007
Registered User
 

Join Date: Apr 2006
Posts: 5
Quote:
Originally Posted by togashiando View Post
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?
Reply With Quote
  #5  
Old 07-05-2007
Registered User
 

Join Date: Apr 2006
Posts: 5
ok i have tried this
Quote:
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.
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?
Reply With Quote
  #6  
Old 07-05-2007
Registered User
 

Join Date: Apr 2006
Posts: 5
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,
Reply With Quote
  #7  
Old 07-06-2007
jgt jgt is offline
Registered User
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 348
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0