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
XpSetContext(3Xp)						 XPRINT FUNCTIONS						 XpSetContext(3Xp)

NAME
XpSetContext - Sets or unsets a print context with the specified display connection to the X Print Server. SYNOPSIS
cc [ flag... ] file... -lXp [ library... ] #include <X11/extensions/Print.h> void XpSetContext ( display, print_context ) Display *display; XPContext print_context; ARGUMENTS
display Specifies a pointer to the Display structure; returned from XOpenDisplay. print_context A pre-existing print context on the same X Server. DESCRIPTION
XpSetContext sets the print context for a display connection. All subsequent print operations that do not explicitly take a print context- id (for example, XpStartJob) on display will use and act upon the print context set by this call, until the print context is unset or XpDe- stroyContext is called. The print context can be set and used on multiple jobs, if not destroyed. If print_context is None, XpSetContext will unset (disassociate) the print context previously associated with display. If there was no pre- viously associated print context, no action is taken. The content of the formerly associated print context is not affected by this call, and other display connections may continue to use the print context. Since font capabilities can vary from printer to printer, XpSetContext may modify the list of available fonts (see XListFonts) on display, and the actual set of usable fonts (see XLoadFont). A unique combination of fonts may be available from within a given print context; a client should not assume that all the fonts available when no print context is set will be available when a print context is set. When a print context is set on a display connection, the default behavior of ListFonts and ListFontsWithInfo is to list all of the fonts normally associated with the X print server (i.e. fonts containing glyphs) as well as any internal printer fonts defined for the printer. The xp-listfonts-modes attribute is provided so that applications can control the behavior of ListFonts and ListFontsWithInfo and is typi- cally used to show just internal printer fonts. Using only internal printer fonts is useful for performance reasons; the glyphs associated with the font are contained within the printer and do not have to be downloaded. If the value of xp-listfonts-modes includes xp-list-glyph-fonts, ListFonts and ListFontsWithInfo will include all of the fonts available to the server that have glyphs associated with them. If the value of xp-listfonts-modes includes xp-list-internal-printer-fonts, then List- Fonts and ListFontsWithInfo will include all of the fonts defined as internal printer fonts. When the print context is unset or XpDestroyContext is called, the available fonts on display revert back to what they were previously. DIAGNOSTICS
XPBadContext A valid print context-id has not been set prior to making this call. SEE ALSO
XpDestroyContext(3Xp), XpStartJob(3Xp) X Version 11 libXp 1.0.0 XpSetContext(3Xp)