- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remote Printing
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
Forums
Discussions
Discussions
Discussions
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
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
01-12-2001 04:06 AM
01-12-2001 04:06 AM
Remote Printing
I would like to know How I can I create a device (/dev/printer_name) for a remote or network printer as you know the device assign is (/dev/null).
Does anybody know?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 06:19 AM
01-12-2001 06:19 AM
Re: Remote Printing
How do I add a Remote Printer?
or
How do I add a Device File?
Are you adding a unix PS printer or
a Netware, NT network printer?
I do not know how to answer your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 06:51 AM
01-12-2001 06:51 AM
Re: Remote Printing
Otherwise, to create a remote printer, you can just go through the printer setup in SAM and point to the correct remote system and remote printer name. If you are adding a network printer then just go through the JetAdmin software and it will do all of the appropriate set up for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 12:37 PM
01-12-2001 12:37 PM
Re: Remote Printing
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 12:50 PM
01-12-2001 12:50 PM
Re: Remote Printing
Could you not send the output to lp from you stored procedure? I would think that this would be possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 01:00 PM
01-12-2001 01:00 PM
Re: Remote Printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 01:11 PM
01-12-2001 01:11 PM
Re: Remote Printing
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2001 04:37 PM
01-12-2001 04:37 PM
Re: Remote Printing
The solution is to use a FIFO file. This is a little known but very clever way to connect things together in Unix. Here are the steps, followed by an explanation:
mkfifo myprinter
cat myprinter | lp -d
Then run your program and specify the file called myprinter (use a full pathname to myprinter). When the device is closed by the program, the job will be printed. You can test it by simply cat'ing a file to myprinter as in:
cat /etc/profile > myprinter
What a fifo does is to act as a destination as well as a source. The command string:
cat myprinter | lp -d
starts a read on the FIFO file and it will hang there waiting for data. Now anyone (with permissions to write to this file) can send data to myprinter and when it is done, the FIFO signals the read side that the end of the file has been seen and closes output to the lp command. The & puts all this in the background. You can script this to take place automatically.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2001 05:41 AM
01-15-2001 05:41 AM
Re: Remote Printing
These are the steps I took :
1) mkfifo epson880
2) cat epson880 | lp -dprt1 &
What am I doing wrong?