CUPS PDF - Sobrescreve arquivos com nomes iguais - Configurar Label

1. CUPS PDF - Sobrescreve arquivos com nomes iguais - Configurar Label

Paulo Henrique
falarcomph

(usa XUbuntu)

Enviado em 12/02/2014 - 14:50h

Olá pessoal,

Estou com um problema sério, tenho um software que sempre que mando imprimir alguma coisa na impressora PDF gerada pelo CUPS ele manda os trabalhos para a impresora com o mesmo nome. Dessa forma a impressora salva um arquivo substituindo outro. Desse modo se eu mandar imprimir 3 arquivos simultaneamente, só fica o último disponível na pasta PDF do CUPS.

Já tentei editar a linha LABEL no arquivo /etc/cups/cups-pdf.conf mas não obtive sucesso.

POR FAVOR ME AJUDEM!!!

Vejam como deixei a configuração do arquivo:

###########################################################################
# #
# Filename Settings #
# #
###########################################################################

### Key: Truncate
## truncate long filenames to a maximum of <Truncate> characters
## this does not consider the full path to the output but only the filename
## without the .pdf-extension or a job-id prefix (see 'Label')
## the minimal value is 8
### Default: 8

#Truncate 64

### Key: Cut
## removing file name extensions before appending .pdf to output
## extensions will only be removed if _both_ the following criteria are met:
## - the extension (w/o the dot) is not longer than <Cut> characters
## - the remaining filename has a minimal length of 1 character
## set Cut to -1 in order to disable cutting
## recommended values: pure UNIX environment : -1
## mixed environments : 3
### Default: 3

#Cut 3

### Key: Label
## label all jobs with a unique job-id in order to avoid overwriting old
## files in case new ones with identical names are created; always true for
## untitled documents
## 0: label untitled documents only
## 1: label all documents with a preceeding "job_#-"
## 2: label all documents with a tailing "-job_#"
### Default: 1

#Label 1

### Key: TitlePref
## where to look first for a title when creating the output filename
## (title in PS file or title on commandline):
## 0: prefer title from %Title statement in the PS file
## 1: prefer title passed via commandline
### Default: 1

#TitlePref 1


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts