Sponsored Content
Top Forums UNIX for Dummies Questions & Answers smbclient print while preserving windows printer settings? Post 302271587 by raidzero on Friday 26th of December 2008 01:37:02 PM
Old 12-26-2008
smbclient print while preserving windows printer settings?

I have successfully gotten AIX to print to a windows shared printer with this command:

Code:
smbclient -U user%password -W domain -c "print file.ext"

the only problem is: I have this print queue set up on the Windows side to overlay an image to all pages. When printing from samba, the overlay is not applied. It does not seem to be using the windows printing preferences. The image overlay is configured at the windows driver level. Would it be possible to do this? The printer is a Ricoh Aficio MP C3500 using the RPCS driver for image overlay. Thanks
 

9 More Discussions You Might Find Interesting

1. Solaris

printer settings

I have created a printer, but I need to change the default pitch (CPI and LPI). According to the lpadmin man page, I have to use the following command to change the pitch lpadmin -p <printername> -o cpi=<decimal value> -o lpi=<decimal value> However, this does not work. I tried it with a... (1 Reply)
Discussion started by: soliberus
1 Replies

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

3. SCO

Lexmark T632 printer settings

My Lexmark T632 printer is attached to Unix system. Somtimes user change the printer settings. I want to be able to get access the printer setting file. If a user changes the settings and I need to restore the settings to original value, then I can ftp the standard menu setting file. Can anyone... (0 Replies)
Discussion started by: nasirgondal
0 Replies

4. UNIX for Dummies Questions & Answers

Lpadmin and viewing printer settings

Hi - Dummy question #1.... We either use the Hewlett Packard HPPI too or LPADMIN command to setup out printers. Is there an LPADMIN command that will show you the default config of a particular printer. Ideally looking to see default font, CPI settings etc. Thanks. BravehearT1326 ... (1 Reply)
Discussion started by: BravehearT1326
1 Replies

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

6. Solaris

Connect smbclient to an windows server 2003 with active directory

Hello everybody .. i want connect with smbclient to an windows server 2003 with active directory. Exist a version of samba that can do this? Thank you very much for your time. Good Luck :b: (3 Replies)
Discussion started by: enkei17
3 Replies

7. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

8. UNIX for Dummies Questions & Answers

FX890 Printer Margin Settings

We have several HP FX-890 printers set up on our UNIX server to print invoices. All of the printers should be set up the same way (i.e. same margins, same paper height, etc). Our printer named invoice4 is now printing like the margins are shorter than the other printers. By that I mean it will... (9 Replies)
Discussion started by: talon52
9 Replies

9. AIX

Print to Windows PDF printer from AIX

Hopefully this is the correct place to post this, if not please let me know. I am trying to find a way to print from AIX directly to a windows PDF printer. I don't really care if it is paid or freeware, I am just trying to get it to work. I did see a product called BullZip and I am going to... (3 Replies)
Discussion started by: DerangedNick
3 Replies
overlay(3NCURSES)														 overlay(3NCURSES)

NAME
overlay, overwrite, copywin - overlay and manipulate overlapped curses windows SYNOPSIS
#include <curses.h> int overlay(const WINDOW *srcwin, WINDOW *dstwin); int overwrite(const WINDOW *srcwin, WINDOW *dstwin); int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int overlay); DESCRIPTION
The overlay and overwrite routines overlay srcwin on top of dstwin. scrwin and dstwin are not required to be the same size; only text where the two windows overlap is copied. The difference is that overlay is non-destructive (blanks are not copied) whereas overwrite is destructive. The copywin routine provides a finer granularity of control over the overlay and overwrite routines. Like in the prefresh routine, a rec- tangle is specified in the destination window, (dminrow, dmincol) and (dmaxrow, dmaxcol), and the upper-left-corner coordinates of the source window, (sminrow, smincol). If the argument overlay is true, then copying is non-destructive, as in overlay. RETURN VALUE
Routines that return an integer return ERR upon failure, and OK (SVr4 only specifies "an integer value other than ERR") upon successful completion. X/Open defines no error conditions. In this implementation, copywin, overlay and overwrite return an error if either of the window point- ers are null, or if some part of the window would be placed off-screen. NOTES
Note that overlay and overwrite may be macros. PORTABILITY
The XSI Curses standard, Issue 4 describes these functions (adding the const qualifiers). It further specifies their behavior in the pres- ence of characters with multibyte renditions (not yet supported in this implementation). SEE ALSO
ncurses(3NCURSES), pad(3NCURSES), refresh(3NCURSES) overlay(3NCURSES)
All times are GMT -4. The time now is 06:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy