• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to print in black and white with a ".dat" file

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    389
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      urtzi
      last edited by

      Hi everyone,
      I want to set up a printer with a .dat file on the fog server. The first thing I have done is to go to the fog documentation and I have found a command to export a config file which is the following: documentation

      RUNDLL32 PRINTUI.DLL,PrintUIEntry /Ss /n"Printer Name" /a "C:\Path\To\Save\ConfigFile.dat m f g p
      

      I have tried the command in MS2 with a printer that I had in black and white, I have made the config file of that, the question is that this command does not do what I want that is to configure the printer in black and white, but if I change the letters of the parameter /Ss and /Sr the letter “g” of the command by the “u” the configuration is saved in black and white.
      For export:

      RUNDLL32 PRINTUI.DLL,PrintUIEntry /Sr /n "PrinterBW" /a "C:\ConfigFile2.dat" m f u p
      

      For import:

      RUNDLL32 PRINTUI.DLL,PrintUIEntry /Ss /n "PrinterBW" /a "C:\ConfigFile2.dat" m u
      

      Now what I want to do is the same but in the fog server but when I put the .dat file in the configuration of the printers it does the same as the command with the “g” and I don’t know how to make it do the same as the “u”, does anyone know?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        Douple post on github and the forums. Will discuss this on github.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        238

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project