Sponsored Content
Top Forums UNIX for Advanced & Expert Users Unix: print on printer on another machine (host) Post 302256577 by giugy on Monday 10th of November 2008 06:37:30 AM
Old 11-10-2008
Unix: print on printer on another machine (host)

Hi all,sorry for my english but i don't speak it very well.

I have a problem, i need to print a file from a unix machine to a printer on another unix machine (with another host).

I think that it's possible making a connection with telnet to this machine and after to print on the machine in wich i'm connected.

But i need to know if is possible to made this print (on another host machine) with only a command....maybe like the lpr command with an option for the host and the printer name.
I see that for the lpr there is only the parameter -P for the name on the printer...is there a command (or a parameter for lpr,lp.....) to print on a printer on a different machine with a different host???

Thanks so much for help.
Bye
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Configure SCO Unix to print on windows base XP printer

Hi, I have done this year ago, and now I need to do it again, but did not remember how I do it. I have a slip printer on a windows xp workstation and i need to print from SCO unix application to that printer. I try to create a remote printer but the only option available is unix, the other to... (0 Replies)
Discussion started by: comsiconsa
0 Replies

2. UNIX for Advanced & Expert Users

need UNIX command to print to Dell printer

i need a UNIX command to print to a Dell printer. i was successful printing to a HP printer using qprt -Pprinter, but it doesn't work for Dell printer. any suggestions??? much appreciated. (3 Replies)
Discussion started by: bones91
3 Replies

3. HP-UX

Adding printer entry into host file

Hi relatively new to unix so sorry if this is a stupid question: How do i add a printer entry into the host file. I know how to add the printer using sam, but i am required to add the host file entry into /etc/hosts which i am unaware of how to do. Any help would be greatly appreciated. (2 Replies)
Discussion started by: Wade Gava
2 Replies

4. UNIX Desktop Questions & Answers

wt is the exact procedure to share windows printer on linux machine to print from it

hi, what is the exact procedure to to set up printer on linux machine?The printer is a network hp 3050 printer configured on windows xp machine and i want to setup it on linux fc9 machine to print from it.is samba is compulsory for that? please give the exact procedure to do the same? (1 Reply)
Discussion started by: pankajd
1 Replies

5. SCO

Print from unix to hp printer attached on WINDOW

I try to send print spool on WINDOW XP Print server HP printer which generated in rmcobol on sco unix in following way to change the font, font style and font size but failed to succeed Forexmple in Cobol program I gives before the text which want to print in font style Bold FILLER PIC... (0 Replies)
Discussion started by: muzammilalikhan
0 Replies

6. UNIX for Advanced & Expert Users

Print from unix to hp printer attached on WINDOW

I try to send print spool on WINDOW XP Print server HP printer which generated in rmcobol on sco unix in following way to change the font, font style and font size but failed to succeed Forexmple in Cobol program I gives before the text which want to print in font style Bold FILLER PIC... (1 Reply)
Discussion started by: muzammilalikhan
1 Replies

7. Programming

Print from unix to hp printer attached on WINDOW

I try to send print on WINDOW XP Print server HP printer which generated in rmcobol on sco unix in following way to change the font, font style and font size but failed to succeed Forexmple in Cobol program I gives before the text which want to print in font style Bold FILLER PIC X(5) `^ (2 Replies)
Discussion started by: muzammilalikhan
2 Replies

8. Shell Programming and Scripting

Host Machine not listed.

Hello everyone, I have a perl script to list all the host machines in my development environment. The script does various other tasks apart from listing the host names in an excel output. The problem is with the listing of host machines. The script lists all the host names except the host on which... (1 Reply)
Discussion started by: nmattam
1 Replies

9. IP Networking

Remote printer setup on solaris 10 host

Hi All, I am trying setup a remote printer on a solaris 10 server. The printer is online and working fine is solaris 8. I have added the pritner to /etc/hosts file and /etc/printers.conf ... I need to know followings: 1. How do I find the default pritner port on the old solaris machine... (0 Replies)
Discussion started by: mohullah
0 Replies
rcancel(1M)															       rcancel(1M)

NAME
rcancel - remove requests from a remote printer spooling queue SYNOPSIS
[id ...] [printer] user] DESCRIPTION
The command removes a request, or requests, from the spool queue of a remote printer. is invoked by the command (see lp(1)). At least one id or the name of a printer must be specified. This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly. Options The command recognizes the following options: id Specifying a request ID (as returned by (see lp(1))) cancels the associated request, even if it is currently printing. The maximum number of ids that can be specified is 50. printer Name of the printer (for a complete list, use (see lpstat(1))). Specifying a printer cancels the request which is cur- rently printing on that printer, if the request is owned by the user. If the or the option is specified, this option only specifies the printer on which to perform the corresponding cancel operation. Remove all requests owned by the user on the specified printer (see printer). The owner is determined by the user's login name and host name on the machine where the command was invoked. Empty the spool queue of all requests for the specified printer. This form of invoking is useful only to users with appropriate privileges. Remove any requests queued belonging to that user (or users) for the specified printer. You can repeat the option to specify more users. The maximum number of users that can be specified is 50. This form of invoking is useful only to users with appropriate privileges. WARNINGS
A remote print request can be canceled only from the system on which the the original command was issued, and if the restrict cancel fea- ture (see lpadmin(1M)) is enabled for the specified printer, a request belonging to this printer can be canceled only by the system admin- istrator or the user who requested it. This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly. AUTHOR
was developed by the University of California, Berkeley, and HP. FILES
SEE ALSO
enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). rcancel(1M)
All times are GMT -4. The time now is 01:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy