Sponsored Content
Full Discussion: Remote printing
Top Forums UNIX for Advanced & Expert Users Remote printing Post 48900 by warrickj on Sunday 21st of March 2004 07:09:36 PM
Old 03-21-2004
Remote printing

I'm trying to print from my Solaris server to a Windows Print Server

The Print Server will then pass the print job to a PC connected via dial-up and print it locally.

EG:

Solaris
-----
| |
| |
------
/88888/
-------
\
/
\

Win Prt Svr Remote PC & Prtr
---- ---- _____
| | /\ / | | /____ /
| | / \/ | | [ ] |
---- ---- [_____]/
/8888/ /8888/
----- -----

I've installed Windows services for Unix but still can't get the job which exits Solaris nicely, to appear at the Windows print queue.

Warrick
 

10 More Discussions You Might Find Interesting

1. IP Networking

Remote Printing

I am setting up a unix remote print server for approximately 500 printers. We send about 1,000 print jobs per day over the WAN. I am looking for hardware specs. I know I can overkill, but would rather get a sensible machine. Any suggestions? (2 Replies)
Discussion started by: Donna
2 Replies

2. UNIX for Dummies Questions & Answers

Remote Printing

I am using Sco Openserver 5.0.6 and I have an Okidata 16n printer on a GETNET print server. I am able to print to the printer. However I am having display issues. Normally when I setup a local printer I am able to tell it what model to use. Ex.(HPLaserJet). When I setup the remote... (2 Replies)
Discussion started by: stufine
2 Replies

3. Solaris

Remote Dial-up Modem Printing With Out Cpu On The Remote Side!

I am looking for a dial-up remote printing solution as under : 1. We have a Centralized location where Sun Solaris (A) is installed. From here printing command will be despatched. 2. This printing command will be routed to WAN cloud to Main Branches (B1,B2,B3)and from there, printer at... (0 Replies)
Discussion started by: jayvee
0 Replies

4. HP-UX

Remote Printing to HP 1000

Our system is an HP RP5470 11.11. We have had remote printing working for over 6 years. We use NetManage ViewNow software on our Windows client as the LPD. We had no problems with remote printing for any HP printer except for the HP LAserJet 1000. Nothing prints. I sent all the files in the... (2 Replies)
Discussion started by: Stabia
2 Replies

5. UNIX for Advanced & Expert Users

Remote printing

Dear Sir Please how can I print a job localy with my printer while a server from where I am working belong to another network? Actulally to print a job I am oblige to : 1rst to print it inside a file 2nd coping the file to my network (rcp) 3rt sending the file to my local printer (lp... (2 Replies)
Discussion started by: sobnc
2 Replies

6. UNIX for Dummies Questions & Answers

SCO5.0/Facetwin Remote Printing

I've been experiencing problems with remote printers not printing unexpectedly (two in the past three weeks). The first time I switched the computer to redirect the print job. This took care of the problem, however, now I have a different printer which quit working for no apparent reason. This... (0 Replies)
Discussion started by: chtriller
0 Replies

7. SCO

Remote Printing - 5.07 - MP5

I have just lost all of my printers and I forget how to create a remote printer in SCO 5.07. I do know that there is an issue with CUPS in that I have to "turn it off" (which I also forget how to do) so that this enables the "Remote Printer" setup option in Printer Administration. I thought... (1 Reply)
Discussion started by: atpbrownie
1 Replies

8. Red Hat

Remote printing from Linux to AIX

Hello, I also posted this on the AIX forum in hopes of getting help. I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with some AIX printers that have a user... (0 Replies)
Discussion started by: sbaker
0 Replies

9. SCO

Remote printing configuring

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name an ip-adress. This is the configuration file : root@sco1 # cat configuration Banner: on:Always Content types: simple Device: /dev/null Interface:... (4 Replies)
Discussion started by: haezeban
4 Replies

10. SCO

Unix remote printing

Sir, i have a sco 5.5 installed server and 6 clients connected through pci specialix card and printing working fine in these all terminals. 7 and 8 ports are free now, i need to setup another terminal for login on through 7 or 8 port for remote login. i connect a external modem using 25 pin male... (2 Replies)
Discussion started by: Aneesh Kumar.T
2 Replies
XpCreateContext(3Xp)						 XPRINT FUNCTIONS					      XpCreateContext(3Xp)

NAME
XpCreateContext - Creates and initializes a new print context. SYNOPSIS
cc [ flag... ] file... -lXp [ library... ] #include <X11/extensions/Print.h> XPContext XpCreateContext ( display, printer_name ) Display *display; char *printer_name; ARGUMENTS
display Specifies a pointer to the Display structure; returned from XOpenDisplay. printer_name The name of a printer on display. String encoded as COMPOUND_TEXT. DESCRIPTION
XpCreateContext creates a new print context that is initialized with the default printer attributes and other information available for printer_name on display. A print context maintains the printer name, print attributes, font capabilities, print (rendering) state and results, and is the object upon which the Xp calls act. If the library fails to generate a new print context-id, a value of None is returned, otherwise a print context-id is always returned. If printer_name is invalid, a BadMatch is generated later by the X Print Server. A call to XpGetPrinterList will return a valid list of values for printer_name. All printer name values in the X Print Service are encoded as COMPOUND_TEXT (of which the ISO-8859-1 code-set is a proper subset). As soon as a print context is created, the print attributes in it can be accessed and modified by calling XpGetAttributes and XpSetAt- tributes, and the event selections in it can be modified by calling XpSelectInput and XpInputSelected. Other Xp calls that explicitly take a print context-id as a parameter will operate directly on that print context. All Xp and X calls without a print context-id parameter (for example, all rendering oriented calls like XpStartJob and XDrawLine) require that a print context be set on the display connection (see XpSetContext). Failure to set a print context prior to calling a print-context-dependent call will result in the generation of an XPBadCon- text error. The XPContext returned by XpCreateContext is an XID, and can be used to set the print context on display connections by calling XpSetCon- text. The XPContext id can be shared between processes and display connections. It is the responsibility of the clients sharing a print context to coordinate their usage of the context; for example they must ensure that in-use print contexts are not prematurely destroyed. The context_id remains valid for all clients until 1) the client creating the print context closes its display connection, or 2) any client calls XpDestroyContext. The context_id can be kept valid after the creating client's display connection closes if XSetCloseDownMode is called on display with RetainPermanent or RetainTemporary. After creating a print context, and possibly modifying the XPDocAttr attribute document-format using a value from the list of available formats shown in the XPPrinterAttr attribute document-formats-supported, the application must query the X Print Server via XpGetScreenOf- Context for the screen that has been associated with the print context, and then create all server resources that will be used in the print job on that screen. Failure to do so will result in undefined behavior. When XpCreateContext is called, the client's locale (see XpSetLocaleHinter) is included in the request as a "hint" to the X Print Server. If supported by the implementation, the X Print Server will use the hint to initialize the attribute pools with any localized attribute values (for example, the human readable XPPrinterAttr attribute "descriptor" may be available in several different languages, and the hint will be used to select one). If the X Print Server cannot understand the hint, the X Print Server chooses a default value. This function can generate a BadMatch error if the specified printer_name does not exist on display, or if the print server could not interpret the code set specified in printer_name. DIAGNOSTICS
BadMatch The value specified for doc_fmt is not valid for the current document type or the value specified for drawable is not valid for the print context and print screen. SEE ALSO
XpDestroyContext(3Xp), XpGetAttributes(3Xp), XpGetPrinterList(3Xp), XpGetScreenOfContext(3Xp), XpInputSelected(3Xp), XpSelectInput(3Xp), XpSetAttributes(3Xp), XpSetContext(3Xp), XpSetLocaleHinter(3Xp), XpStartJob(3Xp) X Version 11 libXp 1.0.0 XpCreateContext(3Xp)
All times are GMT -4. The time now is 08:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy