Print All Colors As Black Using VB Script on CS3

Is there a way to set all colors as black using a script? I have found the TextAsBlack option, but I also need it to work with images on the page. I have not figured out how to set the ink alias within a script (have not been able to find any information on how to so) and the print presets do not seem to include the ink alias setting. Below is what I have so far.
Thanks,
Archie
Rem PRINT FILE
Rem ----------
Function myPrintFile (myInDesign, myDocument, myPrintToFile, myFileName)
With myInDesign.ActiveDocument.PrintPreferences
.Printer = myPrintToFile
.TextAsBlack = True
.ScaleHeight = 98
.ScaleWidth = 98
.PagePosition = idPagePositions.idCentered
.PaperSize = "A4"
.PrintFile = myFileName
End With
myInDesign.ActiveDocument.PrintOut False
End Function

I have no clue about the specific params, but from a conceptual point of view you will want to print to a grayscale destination profile (then everything else will simply fall into place).
Olaf Drümmer

Similar Messages

  • Printing in color or black & white in VB6 and Crystal Reports 8.5

    Post Author: elsyvaldez
    CA Forum: General
    How can I programatically print in color or black & white?  I am programming in Visual Basic 6.0 using the Crystal Reports 8.5 Active X Designer Runtime Report object (CRAXDRT.dll).    Our users want the option to print either in color or black & white to a color printer.  I am trying to print many separate reports (for a large group of accounts) in one click of the VB6 "Print" command button without having to display the Printer Setup dialog box for each separate report.  The Report object in CRAXDRT has a method to display the printer setup dialog box but has no property to change "Color" mode (similar to the "PaperOrientation" or "PrinterDuplex" properties).  Is there a way that our users can bring up the Printer Setup dialog box just once, choose color mode, and then make this choice effective for all separate reports printed using CRAXDRT?

    Hi Sastry
    I can print multiple pages from notepad without any issues. It is only the print from the crystal OCX control that has the issue. It has it's own print dialog box.
    Thanks
    Peter

  • Cannot print all colors on HP Photosmart C7180

    Cannot print all colors on HP Photosmart C7180. Changed cartridges, updated Mac Software. Did not help, When using the HP diagnostic test only 4 colors show.

    Time to contact HP support.

  • I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    it says "the document could not be printed".  "There were no ages selected to print".
    I selected "all".  I always tried selecting pages "1-3".
    The only choice that works is current page.  Very strange.

  • Printing All text as black

    Hi,
    I don't know if it's Mac or it's HP but I would appreciate to have the possibility to define the printing preferences for my HP printer (LaserJet M1132 MFP) as I can do it in Windows. Would there be a trick to print all text as black?

    File > Print then select Black & White.
    That will print all text in black.

  • Have a MacBook Air with Lion and it won't print in color, just black. How to fix?

    Have a new MacBook Air with Lion which will only print in black.  How do I get to print in color. Have HP 7200 All In One Printer???????

    Are you using the correct printer driver? Did you contact HP tech support for help?

  • Set Default Printer based on user setting using Powershell script

    Hi 
    I would like to create a script that runs on user log off and captures the default printer (set manually by the user) and then another script to reapply the settings (saved upon log off) when the user logs back in.
    This is because local printers are set as default printer (PDF Creator Programs) when we all use Network Printers so this means a user has to set default printer to the network printer all the time.
    I have found this script to start with:
    $Printer = Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select name | out-file C:\temp\Printer.txt
    But the out file looks like this:
    name
    \\PrinterserverName\Accounts01
    Which I dont see how it can be used on another script plus there are spaces after\Account01 
    Any Ideas please?
    M
    Maelito

    Hi Maelito,
    According to your description, you want to export the default printer name to text file, then read this printer name from text file and set the default printer via Powershell:
    #save printer name to text file
    Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select -ExpandProperty name | out-file C:\temp\Printer.txt
    # read printer name from text file and set default printer
    $name=get-content C:\temp\Printer.txt
    (Get-WmiObject -Class Win32_Printer -Filter "Name='$name'").SetDefaultPrinter()
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Credit card statement printing in color when black and white chosen.  Wasting INK!  Not a printer problem.

    I have tried to print my business cc statement 3 times and even though I have my printer default to black and white and I verified that in the print dialog box it still printed in color three times.  I called printer company - no problems with that....I called cc company to see if they had a special down load issue - not problems with that.  They open in Adobe as a pdf so it must be that.  I saved it and tried to print it and it DID print correctly then.  But, I do not want to have to save the statement each time.  I have never had this issue before.  Printer is only a couple months old.  Programs are all up to date.

    Hi Pat,
    It seems to be happening only in Google Chrome.  And it has happened with other sites, too, when downloading something to print.  I attached a screen shot.  As you can see, it shows black and white for printing but it still printed in color. 
    Are there setting in Chrome that I can't seem to find?  Thanks for your input. 

  • My printer will not print in color, only black and white.

    I have an Epson NX 420. I have set it up to my laptop, and am able to print off of my computer. But when I go to print a document out of pages, even though it says it is in the color mode it only will print out in Black and White. Is there something I should be downloading? I do know that the printer can and does print in color, because everything works perfectly fine on my Windows computer.

    There are a few things to check:
    Make sure the blue tape has been removed from the nozzle plate.
    Print a diagnostic page as shown in method 4 here.  Does this page print color?  If so the issue may be your driver settings.  Check for a "Print in grayscale" setting and uncheck this box.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to print in color not black

    it appears my black ink is empty.  is there any way to print what i need in color?  they're online forms/instructions that i need to print.
    plz help!!
    ty
    This question was solved.
    View Solution.

    Hi,
    It is possible to print in black only, it is impossible however to print with color inks only as the black color is also the base for for color printing.
    Ensure the Black ink is empty indeed by checking the Estimated ink levels on the printer screen.
    If it is empty you will need to replace the depleted cartridge to resume printing.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Recommendations for printer/all in one for use with 10.9+? Help!

    Does anyone have recommendations for a printer/all-in-one that will work with Mavericks? Monochrome (b&w) laser printer/all-in-one preferred. This is for a small office (5-8 people). Frequent pdf printing and 30+ page documents.
    Right now I'm looking at Brother MFC-7860DW (might need something with a larger capacity), Brother MFC-8710DW, Epson WorkForce WF-M1030 (again, may need something w/ larger capacity), and Canon Laser imageCLASS MF4770n or Canon Laser imageCLASS MF4890dw. Also have looked at Canon imageCLASS MF6160dw but reviews are iffy. Any suggestions would be greatly appreciated!!

    Thanks for your help and input, diggernyc. If I was going to say that my question had been answered I certainly would have chosen your response and not my own. It seems silly that you can't undo marking a post as "solved".
    If anyone has suggestions, they are still appreciated. Thanks!

  • JS: Using CS2 Scripts with CS3

    We're getting ready to (finally) upgrade from InDesign CS2 to CS3. We use several scripts (Javascript) regularly. I know quite a bit changed with the object model in CS3. I've seen a couple of threads here where Olav mentions "script versioning" that allows you to reference the old object model, but I haven't been able to find HOW to do that.
    I want to upgrade all of our scripts to the CS3 model, but that will take some time, as I am no expert. Is there a way to use our CS2 scripts just as they are for now (until I'm able to get them all updated)?
    Thanks,
    Lisa

    That script won't see any styles that are in style groups in CS3 -- is that the problem?
    Or it could be that the effect of simply reasserting the style in CS3 is different from CS/CS2. I don't remember.
    Dave

  • Does anyone know how to print from color to black on Acrobat x pro

    The version doesnt seem to have the print in black option
    it does have print in grayscale but it doesnt do anything to my doc.

    Run a Preflight profile to convert the color PDF to a B/W version:
    Open the Print Production panel (you'll need to go to the top right corner of the Tools, and from the Options menu turn on Print Production). Click on the Preflight tool. Choose the Select Single Fixups button at the top of the tool. Select Convert Color to B/W.

  • The Printer don`t print in color, only black/whit​e

    Please Help, The printer only prints black/white

    Hi,
    If your eprint jobs are printed in Black and White and not in color, then please go to www.hp.com/go/eprintcenter and then type your username and password and log in to the HP Eprint center. Then click on te printer and then click on Eprint Settings button.
    Then click on print option tab and select Color and click on Save.
    This will resolve the issue.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"
    (Although I am employed by HP, I am speaking for myself and not for HP)

  • Hp3525 Light print, all colors.Washed out look.

    I was working on a light print issue on an hp3525. I tried pretty much everything. cleaned all contacts, tried different cartridges, cleaned the scanners,which are a pain to remove.
    The problem turned out to be a bad connection on the dc controller, it has at least 5 ribbon cables and numerous other connections, I unplugged everything from the board and plugged it all back in, apparently oxides can build up ,most likely on the ribbon cables, I cleaned them with a pencil eraser to make them shine and that solved the problem.

    Hi lazrprnt,
    Do you have an issue you need assistance with on the HP 3525 printer?
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

Maybe you are looking for

  • Error msg: "Config message not received after 45 seconds"

    I have developed a simple stateless session bean. After being called once, the following is output to the log: Thu Jan 04 18:15:46 CST 2001:<I> <RJVM> Signaling peer 3978882810638278829C198.171.129.36 gone: weblogic.rjvm.PeerGoneException: - with nes

  • A whole row of the keyboard is not working!

    Hi I bought a 27" iMac in january... and this week the keyboard has been acting strange! the row of (z x c v b n m , .) plus right shift and left arrow are not working!!! I found an old thread of this exact same thing, but it's archived and it was ne

  • My Mac shut down when I try to export a movie (with iMovie).  What can I do ?

    Hi ! Since a couple of weeks, I try to export a movie i've done with Imovie, but my mac keeps shutting down again and again before the work is done.  Can anybody help me ? Thanks.

  • Advance Table: Problem on add another button

    Hello All, I have designed page that contains advance table and add another button. The table displays maximum 10 records in a page. First I click the button and enter the records. After that again I click the button for multiple records insert. Than

  • Allow users to attach a file and remit via form

    I am creating a fillable worksheet for users via Acrobat 9 Pro I would like users to be able to fill out the form, click a submit button (which brings up their respective email client to remit data to form creator (me). BUT.... also somewhere on the