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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
print.ini
print.ini(5) File Formats Manual print.ini(5)
NAME
print.ini -- survex printer settings
Description
The print.ini file contains printer descriptions for the Survex printer drivers.
File Format
The format of the print.ini file is similar to the .ini files used on Microsoft Windows. The file is divided into sections, each section
corresponding to a separate printer description. A section starts with a section name in square brackets, e.g. aven's built-in printer
support uses the aven section:
[aven]
followed by some options of the form <option>=<setting>, e.g.:
font_size_labels=6
In the supplied print.ini each option is preceded by a comment (indicated by a semicolon ';') briefly explaining the option.
Customising Printer Settings
If you wish to change the size of the font used for labels or the colours used you need to override some of the setting in print.ini.
You shouldn't modify the master print.ini (located in /usr/share/survex on Unix, or in the same directory as the Survex program files on
other systems), or your changes will be overwritten by upgrades. Instead create:
o /etc/survex/print.ini (Unix - system-wide settings)
o ~/.survex/print.ini (Unix - per user settings)
o myprint.ini in the directory where Survex is installed (other platforms)
If one of these files contains a setting then aven will use it instead of the setting in the master print.ini. Any settings not specified
will still fall back to the values in print.ini.
See Also
printdm(1), printhpgl(1), printpcl(1), printps(1)
print.ini(5)