Alexandre Julliard ha scritto:
Massimo Del Fedele max@veneto.com writes:
Massimo Del Fedele ha scritto:
Print jobs are sent to CUPS without the page size, so they're cropped to the default one (usually A4). The patch solves it adding "-o PageSize=<pagesize>" to lpr command.
Ciao
Max
Is there something wrong with this one ?
Adding parameters to the lpr command this way is ugly and dangerous. There has to be a better way to make cups use the correct page size.
Staying with LPR code, I could use
lpoptions -d <printer> -o media=<media>
exec-ing it before starting document, but then the selected media would stay there as default for next print jobs (I guess also outside wine's). Would it be better ?
Max