Thanks Sandro,
I've made a slight change to your suggestion,
> From: Sandro Bonazzola
>
> Under Windows ME the 'uname -s' command reports: "CYGWIN_ME-4.90".
> The /etc/profile file says:
>
CYGWIN_9?-* | CYGWIN_ME-*)
PRINTER="`regtool -q get
'\config\System\CurrentControlSet\Control\Print
Under Windows ME the 'uname -s' command reports: "CYGWIN_ME-4.90".
The /etc/profile file says:
# Define default printer
case "`uname -s`" in
CYGWIN_NT-*)
PRINTER="`regtool -q get '\user\Software\Microsoft\Windows
NT\CurrentVersion\Windows\Device' | sed 's/,.*$//'`"
;;
CYGWIN_9?-*)
2 matches
Mail list logo