Print from unix to hp printer attached on WINDOW


 
Thread Tools Search this Thread
Operating Systems SCO Print from unix to hp printer attached on WINDOW
# 1  
Old 12-04-2008
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 X(5) `^[(s3B`
OR
FILLER PIC X(8) '\033(s3B'


Please help me in contents for which is generic on each HP printer which attached on Window and use from sco unix
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File Transfer from Window server to UNIX and UNIX to UNIX

Dear All, Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way. I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies

2. UNIX for Dummies Questions & Answers

Print to a network printer on DG/UX

i need to print a file on a network printer with an ip 128.233.1.6 (for example) on a DG/UX (System V) Release 5.4R3.10 so that when telnet from windows client can print on the network printer. (2 Replies)
Discussion started by: kamwa
2 Replies

3. Windows & DOS: Issues & Discussions

Print using Window Default Printer

Looking for a program to print a file created in MKS Korn Shell and using the default Windows Vista printer without user interaction (0 Replies)
Discussion started by: njysprez
0 Replies

4. 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

5. 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

6. UNIX for Advanced & Expert Users

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... (3 Replies)
Discussion started by: giugy
3 Replies

7. Shell Programming and Scripting

Help Required: To run the attached UNIX script

Hi, This Script contains update statements and running without error. But the update result is not getting reflected in the database. i.e may be Script fails to connect to the database. it would be of great help if you could figure out the problem. Thanks, Shruti Script follows here:... (5 Replies)
Discussion started by: Shrutiduggal
5 Replies

8. 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

9. 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
Login or Register to Ask a Question
LP(1)							      General Commands Manual							     LP(1)

NAME
lp - printer output SYNOPSIS
lp [ option ... ] [ file ... ] DESCRIPTION
Lp is a generalized output printing service. It can be used to queue files for printing, check a queue, or kill jobs in a queue. The options are: -d dest Select the destination printer. If dest is list the currently available printers. In the absence of the destination is taken from the environment variable LPDEST. Destination is the standard output. Destination is line printer port on a 386 machine. -p proc The given processor is invoked. The default processor is which tries to do the right thing for regular text, troff(1) output, or tex(1) output. If no processing is desired may be specified. -q Print the queue for the given destination. For some devices, include printer status. -k Kill the job(s) given as subsequent arguments instead of file names for the given destination. The remaining options may be used to affect the output at a given device. These options may not be applicable to all devices. -c n Print n copies. -f font Set the font (default -H Suppress printing of header page. -i n Select paper input tray. n may be a number 0-9, the word man for the manual feed slot, and/or simplex or duplex to get single or double sided output. Multiple input tray options may be specified if they are separated by commas. -l n Set the number of lines per page to n. -L Print pages in landscape mode (i.e. turned 90 degrees). -m v Set magnification to v. -n n Print n logical pages per physical page. -o list Print only pages whose page numbers appear in the comma-separated list of numbers and ranges. A range n-m means pages n through m; a range -n means from the beginning to page n; a range n- means from page n to the end. -r Reverse the order of page printing. -x v Set the horizontal offset of the print image, measured in inches. -y v Set the vertical offset of the print image, measured in inches. EXAMPLES
eqn paper | troff -ms | lp -dsafari Typeset and print a paper containing equations. pr -l100 file | lp -l100 -fCW.8 Print a file in a small font at 100 lines per page. lp -dstdout /dev/windows/3/window > doc.ps Convert a bitmap to a postscript file. SEE ALSO
lp(8) P. Glick, ``A Guide to the Lp Printer Spooler''. BUGS
Not all options work with all output devices. Any user can kill any job. Lp will accept jobs from BSD style lpdaemons but cannot send jobs to such systems. LP(1)