- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- printing via port 9100
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2006 03:36 PM
тАО08-21-2006 03:36 PM
printing via port 9100
i have some queries abt printing via port 9100 :
1) in /etc/services, i already have this entry :
printer 515/tcp spooler
can i add another similar entry like this :
printer 9100/tcp jetdirect
would there be a conflict?
2) i'm using lp command to print a file to a canon printer via this port, does the lp command work in this case as it's not printed. lpq still show the file in the queue
3) do i need to install the jetdirect software in order for lp to work?
sorry if the queries sound somewhat silly as i'm totally lost in this...
any feedback is much appreciated...
thanks !
btw - does anyone know of any good unix printing guide that i can read up to know more?
regards :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2006 04:46 PM
тАО08-21-2006 04:46 PM
Re: printing via port 9100
Tru64 system.
> can i add another similar entry like this :
> printer 9100/tcp jetdirect
Bad idea.
> would there be a conflict?
Yes.
> 2) [...]
You need to work on /etc/printcap.
> 3) [...]
If it's a Canon printer, I would not expect
JetDirect to be of much use. (But what do I
know?)
A quick Google search for:
tru64 printcap services 9100
seemed to find some (old) how-to suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2006 10:01 PM
тАО08-21-2006 10:01 PM
Re: printing via port 9100
You need not to install jetdirect software. We use to use the printer with 9100 port for barcode printing and text printing only. On Tru64, run lprsetup and add the printer as remote printer. In remote hostname give the ip address of jetdirect and in share name give port 9100.
once configured check lpc status printername
and see the status if its down do enable the queue and it will print.
sorry, cannot give reply for services entry as I'm not sure.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2006 07:50 PM
тАО08-22-2006 07:50 PM
Re: printing via port 9100
If you can use PCL on you Canon printer then use this:
root> pwd
/usr/lbin
root> ./pclof -h
PCL print filter for the Tru64 UNIX lpd print system.
The help sub-options are:
-hr, System requirements
-hi, Installing the filter, printcap example
-hp, Printcap options
-hl, lpr options
-hc, Calibrating the filter
-hs, Setup file
-hn, Notes
-hv, Version
Copyright 2003 Hewlett-Packard Company. All rights reserved.
root> ./pclof -hi
Installing the print filter.
> cp 'this program' /usr/lbin/pclof
> chmod 755 /usr/lbin/pclof
> chown bin:bin /usr/lbin/pclof
Creating the printcap entry.
...
Printcap example for a tcp/ip connected printer. Port_9100 is defined in
the /etc/services file as 'port_9100 9100/tcp'. While most printers use
port 9100 for a raw tcp/ip connection some printers use other values.
If port 9100 does not work refer to your printer manuals or try these port
numbers: 10001, 3001, 2501, 35.
pcl|lp0:\
:ct=tcp:\
:af=/usr/adm/lpacct_pcl:\
:if=/usr/lbin/pclof +OPageSize=Letter +Opm=0.5 +Olrp=0.25 +Olrl=0.12:\
:lf=/usr/adm/lperr_pcl:\
:lp=@NetPrinter.com/port_9100:\
:mx#0:\
:of=/usr/lbin/pclof +OPageSize=Letter +Opm=0.5 +Olrp=0.25 +Olrl=0.12:\
:pl#66:\
:pw#0:\
:sd=/usr/spool/print/pcl:\
:xf=/usr/lbin/xf:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2006 07:53 PM
тАО08-22-2006 07:53 PM
Re: printing via port 9100
thanks for all your replies...
:)