Sponsored Content
Full Discussion: Problem with a lp from UNIX
Top Forums UNIX for Advanced & Expert Users Problem with a lp from UNIX Post 302882681 by dcastellini on Wednesday 8th of January 2014 02:53:59 PM
Old 01-08-2014
Linux Problem with a lp from UNIX

Hi, how we are?

I have a problem, I have a PDF in unix and i call a Shellscript, it does :

Code:
lp -d queue archive.pdf

A simply print.

I have many printers, so in some printers the PDF is printing with a diferent margin left and right margins, it cuts the really print.

I try fix it, editing the PPD archive (printer driver, it contains diferent values, PageRegion, Imageable Area, HWMargins alocated in /etc/cups/ppd )

So, i changed this diferent values.

To add the ppd edited i do:

Code:
[/usr/sbin]

$ sudo ./lpadmin -p qlp30 -P /etc/cups/ppd/qlp30.ppd

And later , restart cups:

Code:
[/etc/init.d/]

$ sud ./cups restart

But, I print the PDF and it has a problem with margins. In fact, the print is equal (no changes).

I use cups 1.3.7

¿Have some ideas?
I don't have anymore...

Thanks Regards.

Last edited by dcastellini; 01-08-2014 at 04:13 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix login problem

When i am trying to login to my unix machine. It is directly loging me into root ( / ) directory, instead of my home directory. Why this is happening. And generally when this happens (4 Replies)
Discussion started by: ds_sastry
4 Replies

2. UNIX for Dummies Questions & Answers

UNIX problem? Unix programm runs windows 2000 CPU over 100%

Okee problems...!! What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies

3. SCO

Problem during unix installation

i have a problem with installing unix after booting system by itself floppy , during checking the hardware devices computer hangs , and stops. it checks: %fpu %serial %floppy %console %pci %adapter %tape %cd-rom G hd_config in this place system got stop. remember i passed this step at... (1 Reply)
Discussion started by: uranium
1 Replies

4. UNIX for Advanced & Expert Users

Problem booting unix

Hello, We had a system shutdown last night and now the server won't boot because of volume is seriously damaged (this affects all volumes). Any suggestions on how to repair. Any suggestions welcome Thanks (1 Reply)
Discussion started by: bobman
1 Replies

5. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

6. UNIX for Advanced & Expert Users

i have a problem with unix

Hi, > i have a problem using the crontab command. i have a program which > will show a pop-out in the screen using the say command when the > program is run. but when i put the program into the crontab command, the > program works perfectly but it did not show any pop-out on the screen.... (18 Replies)
Discussion started by: ckng
18 Replies

7. UNIX for Dummies Questions & Answers

Unix 10.2 Backup Problem

We have an older HP Unix 10.20 system that we rarely ever use anymore. Most of our jobs on it are from 1994 to 2002. Anything after that is on Windows XP. The Unix system was backed up religiously every day. Because of space constraints some of the jobs were removed from the system after a... (3 Replies)
Discussion started by: fozzybear
3 Replies

8. SCO

unix installation problem

hi, im tring installaing sco unix 5.05 in my pc but it is showing an "memory error loading kernel fd(64)unix.text loading ram disk image fd(64)rootfs" can anybody tell me how to solve this problem. my system configuration is 3.2ghz processor,1gb ram,d101ggc mother board thank u bln (1 Reply)
Discussion started by: blnprasad
1 Replies

9. Shell Programming and Scripting

pl/sql in unix problem

hi all i have written this small code. sqlplus $schema_name/$passwrd@$instance <<eof set serveroutput on; declare lv_count pls_integer; lv_option varchar2(20); begin select count(*) into lv_count from all_objects where upper(object_name)=upper('$temp_file1');... (1 Reply)
Discussion started by: infyanurag
1 Replies

10. Shell Programming and Scripting

Typical problem in UNIX

Input file I have a file with four fields. f1,f2,f3,f4 A,1,10,00,S B,2,20,00,00,D C,3,100,00,00,G I want Output like f1|f2|f3|f4 A|1|10,00|S B|2|20,00,00|D C|3|100,00,00|G please help on this (4 Replies)
Discussion started by: bharat1211
4 Replies
cupsfilter(8)							    Apple Inc.							     cupsfilter(8)

NAME
cupsfilter - convert a file to another format using cups filters SYNOPSIS
cupsfilter [ --list-filters ] [ -D ] [ -U user ] [ -c config-file ] [ -d printer ] [ -e ] [ -i mime/type ] [ -j job-id[,N] ] [ -m mime/type ] [ -n copies ] [ -o name=value ] [ -p filename.ppd ] [ -t title ] [ -u ] filename DESCRIPTION
cupsfilter is a front-end to the CUPS filter subsystem which allows you to convert a file to a specific format, just as if you had printed the file through CUPS. By default, cupsfilter generates a PDF file. The converted file is sent to the standard output. OPTIONS
--list-filters Do not actually run the filters, just print the filters used to stdout. -D Delete the input file after conversion. -U user Specifies the username passed to the filters. The default is the name of the current user. -c config-file Uses the named cups-files.conf configuration file. -d printer Uses information from the named printer. -e Use every filter from the PPD file. -i mime/type Specifies the source file type. The default file type is guessed using the filename and contents of the file. -j job-id[,N] Converts document N from the specified job. If N is omitted, document 1 is converted. -m mime/type Specifies the destination file type. The default file type is application/pdf. Use printer/foo to convert to the printer format defined by the filters in the PPD file. -n copies Specifies the number of copies to generate. -o name=value Specifies options to pass to the CUPS filters. -p filename.ppd Specifies the PPD file to use. -t title Specifies the document title. -u Delete the PPD file after conversion. EXIT STATUS
cupsfilter returns a non-zero exit status on any error. ENVIRONMENT
All of the standard cups(1) environment variables affect the operation of cupsfilter. FILES
/etc/cups/cups-files.conf /etc/cups/*.convs /etc/cups/*.types /usr/share/cups/mime/*.convs /usr/share/cups/mime/*.types NOTES
Unlike when printing, filters run using the cupsfilter command use the current user and security session. This may result in different out- put or unexpected behavior. EXAMPLE
The following command will generate a PDF preview of job 42 for a printer named "myprinter" and save it to a file named "preview.pdf": cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf SEE ALSO
cups(1), cupsd.conf(5), filter(7), mime.convs(7), mime.types(7), CUPS Online Help (http://localhost:631/help) COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc. 11 June 2014 CUPS cupsfilter(8)
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy