Hi Kai-Martin Knaak,

(get-selected-filename) is a Gschem Scheme procedure which
returns the current page filename as string. May be you can
try something like this:

(print-command (string-append "lp -d PDF -t "
    (basename (get-selected-filename)))

The above works only if your Gschem filename does
not contain spaces.  Otherwise, try:

(print-command (string-append "lp -d PDF -t \""
    (basename (get-selected-filename)) "\"")

Hope it helps.

Best Regards,
Paul Tan



_______________________________________________
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Reply via email to