I found that my PSTricks Graphics only work in Landscape when I edit the dvipdfmx.cfg
and add -sPAPERSIZE=a0
to the line
%% Use MiKTeX Ghostscript:
D "mgs.exe -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile=\"%o\" \"%i\" -c quit"
But at my WorkPC I don't have access to this .cfg
file
Can I achieve the same, from out of TexWorks (I use Miktex 2.9) or out of the document somehow? I want a PDF Output.
I can't use other LaTeX editors, or other MikTeX versions.
Example:
\documentclass[a4paper,9pt]{extarticle}
\usepackage{helvet}
\usepackage[utf8]{inputenc}
\usepackage{scrextend}
\usepackage[newdimens]{labels}
\usepackage{pstricks}
\usepackage{pst-barcode}
\usepackage{geometry}
\geometry{
landscape,
margin=0mm
}
\newcommand{\sap}[2]{
\centering\begin{pspicture}(0,0)(7,4)\psbarcode[scaley=1.5]{#2}{includetext textsize=10 width=2.8}{code128}
\end{pspicture}}
\begin{document}
\LabelCols=2
\LabelRows=2
\LabelSetup
\begin{labels}
\sap{Gblalbla1}{209ss4}
\sap{GGblalbla1}{20ss9214}
\sap{Gblalbla}{2092ss141}
\sap{blablabal}{209ss214}%
\end{labels}
\end{document}