Problem printing annotations in CWGRAPH control with VB6

I am attempting to print a cwgraph control in VB6 using the ControlImage(or ControlImageEx) property and the annotations do not print correctly.  I am creating a series of annotations on the graph to represet if 1 or 2 infrared sensors are blocked.  The annontations are simple rectanges that are either filled with dark red (1 sensor blocked) or bright red (both sensors blocked).  On the form, this works perfectly.  The control image shows the annotations as not filled in.  I have attached a picture demonstrating what I am seeing.  The top image is from a printout and the bottom is what is displayed on the screen.
Using ControlImage or ControlImageEx makes no difference. This is with the latest version of measurement studio 8.5 in vb6. 
Thanks in advance.
Attachments:
graph.png ‏12 KB

Hi Lars,
I am printing using a DataReport so what I do is this:
With Profile.Sections("ProfileData_Detail")
    Set .Controls("imgGraph").Picture = Me.cwProfile(GraphNumber).ControlImageEx(Printer.PrintQuality, Printer.PrintQuality)
End With
I have tried using ControlImage and ControlImageEx with the same results. I have also tried saving the controlimage directly to a file with the same results.
This is how I build the annotations for the graph:
    For g = 0 To 2
        With Me.cwProfile(g)
            For i = 0 To NumOccupancySamples
                'Only create an annotation if an infared sensor is blocked.
                If lane(LaneNum).Car.Profile(i).Sensor1Active = True Or lane(LaneNum).Car.Profile(i).Sensor2Active = True Then
                    Call BuildInfraredCoordinates(i, 1)  'Calculate the values for xCoordInfrared and yCoordInfrared.
                    .Annotations.Add
                    .Annotations(.Annotations.Count).CoordinateType = cwAxesCoordinates
                    .Annotations(.Annotations.Count).Shape.LineWidth = 0
                    .Annotations(.Annotations.Count).Shape.Type = cwShapeRectangle
                    .Annotations(.Annotations.Count).Shape.SetCoordinates xCoordInfrared, yCoordInfrared
                    'Fill rectangle if sensor is active
                    If lane(LaneNum).Car.Profile(i).Sensor1Active = True And lane(LaneNum).Car.Profile(i).Sensor2Active = True Then
                        'Both sensors blocked.
                        .Annotations(.Annotations.Count).Shape.FillVisible = True
                        .Annotations(.Annotations.Count).Shape.LineColor = COLOR_BOTH
                        .Annotations(.Annotations.Count).Shape.Color = COLOR_BOTH
                    Else
                        'Only 1 sensor blocked.
                        .Annotations(.Annotations.Count).Shape.FillVisible = True
                        .Annotations(.Annotations.Count).Shape.LineColor = COLOR_SINGLE
                        .Annotations(.Annotations.Count).Shape.Color = COLOR_SINGLE
                    End If
                    .Annotations(.Annotations.Count).Caption = ""
                    .Annotations(.Annotations.Count).SnapMode = cwCSnapFloating
                    .Annotations(.Annotations.Count).Plot = 1
                End If
            Next i
        End With
    Next g
The annotations just indicate if none, 1 or both infrared sensors where blocked.
Thanks.

Similar Messages

  • Quality problem printing in Windows 8.1 with CP1215

    Recently purchased new laptop with Windows 8.1 Pro.  I have had my printer for years, CP1215, via USB, without having any problems printing to it with Windows 7 Pro. I first noticed that the quality of print I receive out of my printer on the new laptop is darker.  The darkness comes from black lines going diagonally across the page.  I would estimate at approximately a 2 degree angle.  I would also estimate that the lines appear every 4th pixel row.  I have attached 2 images, printed on 2 different printers.  The one on the top is the one off of my CP1215, the one on the bottom is a color copier in my office.  I have zoomed in incredibly on the prints to show the lines.  Just never had problems with this printer in pre Windows 8.1 days.  Tried installing ljcP1215-HB-pnp-win64-en.  Tried uninstalling printer, rebooting, then installing, still same problem.  I also have another problem with printing, but suspect it is more of a Microsoft problem.  My laptop thinks a network printer goes offline, stopping and restarting the print spooler service seems to fix that.  I had to make a .bat file on my desktop to do it, it happens at least 2 times in an 8 hr work day.                        

    Hi paulie99, Welcome to the HP Forums, I hope you enjoy your experience! I understand the printer isn't printing properly from Windows 8.I will be happy to help you. Check your printer driver settings. 1. On the File menu in the software program, click Print.2. Select the driver, and then click Properties or Preferences.3. Click the Paper/Quality tab.4. In the Type is or Size is list box, select the correct media type or size. Set the quality to ImageREt 2400. I have provided a document to install the Windows print driver to see if that makes a difference.Installing the Printer Software in Windows 8.1 for a USB or Network Connection. For the network printer I would setup a static IP address. Please let me know the results if you are still having issues. Thank you for posting on the HP Forums.Have a great weekend! 

  • Problems printing envelope from pdf file with logo & return address.

    I have the 6310 All-In-One Printer. I am experiencing major problems printing envelopes (standard size, #10) from a pdf file that is setup with a business logo, name , and address. First of all, the User Guide on page 63 directs you to load the envelope with the flaps up and on the left. This prints out return address in the lower right corner of the envelope front. I have insert the envelope opposite to the User Guide to get the information printed in the correct location, the upper left corner.
    Bigger problem - The logo, which is placed to the left of the business name and address will NOT print out. My preview printer window shows the logo, but it will not print. I cannot figure out what I am doing wrong.
    Suggestions???

    Kindly follow the steps here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01096354&tmp_task=useCategory&cc=au&dlc=en&lang...
    supported envelopes:
    Envelopes U.S. 10: 105 x 241 mm (4.125 x 9.5 inches)
    U.S. 9: 98 x 225 mm (3.9 x 8.9 inches)
    A2: 111 x 146 mm (4.4 x 5.8 inches)
    DL: 110 x 220 mm (4.3 x 8.7 inches)
    C6: 114 x 162 mm (4.5 x 6.4 inches)
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • Problem  printing on  HP DESKJET 5150 with a flat panel under OS X.2.7

    Hello dear community members,
    The printer seems to be OK, as the test printing works right.
    The problem is that when I want to print a 3 pages Word document, what I get is a 60 whites pages out of the printer!
    The same when I try to see the document with the "Print Preview" line.
    Can anybody help me fix that strange operation?
    Thanks.

    Hi Georgia and others,
    I have a similar problem - but printing from Word to a HP DeskJet 960 printer.
    It dones not seem to be a problem with all documents here, but since I yesterday used several hours trying to figure out what caused the problem I want to share my experiences with you. I had the same problem with another document on the same printer some moths ago (but not on our Laser printers at my company office).
    I installed the newest printer driver from HP (several times) with no effect. After opening the document and saving it to a ".txt" document - without any formatting - the whole document got printed! This is not a real solution in most cases, as one loses all the formatting etc. But it indicated to me that the printer worked and communicated with word. Also it was possbile to print (other) documents without any problems to the same printer, at the same time.
    So have you tested different documents on your printer?
    I'm wondering if this indicate that the problem is hidden somewhere in something inside Word/Office and it's communication to the printer - as I have seem someone reporting similar problems with printing from Excel? (something with some "codes" in specific documents?).
    Also, I have seen an update from Apple on some issues with printing from Preview - so I was also wondering if the use of "Show quick Preview" in Word/Office does has something to do with this problem? Has anyone tried to de-select this feature before trying to print? (I deleted the problematic document and can not re-create the problem currently).

  • Having problems printing using ePrint from email with an SMTP transmission failure

    I am having a problem printing from my Apple devices (iPhone, iPad (both running iOS 5), Mac Book Pro and iMac (Lion)) from my Mobile me account (Apple's @me.com mail). My printer is a D110a and is up-to-date. The return error message I'm getting is attached. The printer is working fine as a wireless printer but whenever I try to email something to the ePrint printer address (@hpeprint) I get this message. While I wasn't a heavy user of emailing to this printer, I did have it working. I'm very discouraged by all of the postings I've found on very similar if not identical problems that others are having ... Please help! Your message cannot be delivered to the following recipients:  Recipient address: [email protected]  Reason: SMTP transmission failure has occurred  Diagnostic code: smtp;550 5.7.1 Command rejected  Remote system: dns;email.hpeprint.com (TCP|17.148.16.96|51538|15.201.224.75|25) (hpeprint.com ESMTP Postfix) Original-envelope-id: [email protected] Reporting-MTA: dns;asmtp021-bge351000.mac.com (tcp-daemon) Arrival-date: Tue, 13 Dec 2011 15:27:06 +0000 (GMT) Original-recipient: rfc822;[email protected] Final-recipient: rfc822;[email protected] Action: failed Status: 5.7.1 (SMTP transmission failure has occurred) Remote-MTA: dns;email.hpeprint.com (TCP|17.148.16.96|51538|15.201.224.75|25) (hpeprint.com ESMTP Postfix) Diagnostic-code: smtp;550 5.7.1 Command rejected initions=main-1112130128

    I cannot say if this is a supported path or not, but I have a few thoughts about what you are doing. I have done a few prototypes that would send emails programatically to eprint printers.
    1. do you recieve the email if you send it to a different address (your email address) - you said the email is making it out of the server, but does it make it to destinations.
    2. can you try this with your own printer that has an hp connected account? this would make it easier to troubleshoot.
    3. hpconnected has the idea of open to anyone or allowed senders only. depending on how your customer has their printer setup, you could be blocked by the service because of those settings. with those options, they also have the option to block users or allow users to either of those settings.
    3a. login to hpconnected.com, select devices, look at the device being printed to, and there is a column for ePrint Access that will say 'Allowed Senders Only' or 'Open to Anyone'. going to the settings for a printer will give more details about these settings, and allow you to manage blocked / allowed users.
    More info under 'Manage ePrint Preferences' on this doc:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03550522&cc=us&dlc=en&lc=en
    4. I believe that in hpconnected, you can look at collections and it will show all recieved jobs - which would allow them to be printed again. I think this will list received jobs from email.
    I work for HP.
    David

  • Problem printing horizontal text in smartform with zebra Z6M label printer

    hello,
    The situation is this:
    There is a Z smartform wich prints a label to a zebra Z6M label printer with the text and barcodes vertically.
    The form have a command in the main windows with the parameter: S_LZPL_SETUP     '^FWR'
    This label works fine, but the client want to change the form, they have told me to create a new smartform and print the info horizontally, using the same printer.
    The tests i have done are the following:
    create a smartform from ground and write a template text and a barcode with a new font of system barcodes. the bardoce is shown ok(it is shown horizontally), the problem is that the template text is shown vertically, as in the original smartform.
    then i tried on another zebra ZM600 label printer, similar model, but not the same, and the smartform printed was ok (text and barcodes shown horizontally). So i think is a configuration setting problem, but i dont know where to search.
    i have checked the label printer parameters in SPAD, but didnt find anything souspicios.
    have you any idea?
    thanks in advance.

    See these if they be of any help.....
    BARCODE:
    goto smartform styles-> create a style-->
    create a character format.
    under standard settings give the bar code name
    use this style in ur smartform. select the data field which u want to barcode print and assign the character format
    Similarly
    SAPSCRIPT
    open the form and click the character format button and
    repeat the step as above....
    http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/frameset.htm
    Go to Character formate in your form.
    create a new char formate with enable BAR code AND
    you can give its type too.
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    a barcode printer
    a barcode reader
    a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Creating Bar code:
    ) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Check this thread for detail information.
    How to print Barcode in te SAP SCRIPTS?

  • Problem printing photos in a lab with an exported iPhoto CD

    Hi all,
    I wanted to print photos from my iPhoto library. I filled a complete CD with photos (altogether 317 picutures) and brought it to a printing shop (Pharamprix in Canada) to let them do the printing. Please note I have done that with my Windows PC before and it worked fine.
    What has happened is the following. When I picked up the photos I could not believe what I saw, because I received around 700 printed pictures. Half of the stack was a blury, very grain pictures and the other half of it was clear.
    So my guess is that the export (as I read in another article) of photos puts also other images (is guess also the thumbnails) on the CD.
    Those images were intepereted by the photo shop and where printed accordingly. When I inserted the CD in my iPhoto it shows 317 photos, if I insert the CD into a Windows PC it shows roughly 700.
    Did anyonee experience the same problem? How can I export it so that I do not have the problem again.
    Is Apple aware of this???
    Any thoughts on that will be highly appreciated.
    Thanks,
    Gerd

    Did you burn the CD by using the Share->Burn Disc menu option? If so then you burned an iPhoto formatted disk that included all of the thumbnails, original files of those you've edited and the edited files, all jpg files. The photofinisher's software look for jpgs and printed every thing it found.
    To burn a CD of the photos you want to print, after selecting those images use the Share->Export->File Export menu option. In that window select full sized images. (It's best if you crop the images to the size you want printed beforehand so you don't leave the cropping to the automatic machine at the photofinisher.) Then export to a mounted blank CD and burn in the Finder.

  • Problem printing from Adobe Reader .pdf with Brother printer from a Mac

    I have a macbook pro with Intel Core i7 and OS X Yosemite and Brother MFC-7360N printer connected by wifi. My problem is that I can print everything from all programs except from the Adobe Reader .pdf that do I print from my Preview files .. The error I get is "Error filter". Does anyone know where can originate the error and how to fix it?

    With another O.S. in another computer is OK.
    Thank you
    Juan Carlos Rubio Perez
    [email protected]
    Este mensaje y los ficheros adjuntos pueden contener información confidencial. Los mismos contienen información reservada que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.

  • Problems printing out of PS CS5 with Epson 4800 using latest epson driver

    This is my first post here at the forum.
    Has anybody experienced the following:
    While printing out of Photoshop CS5 12.0.1 with an epson 4800, using the latest driver (6.65), the following happens:
    Around the document, the printable space is filled with a very light colour.
    (If I print an emty canvas, the canvas will not be printed  - as expected - but around, the paper shows ink.)
    I already talked to Epson about the issue.
    We went through the whole printer reset, to make shure it´s not a driver issue)
    The picture shown is printed several (5-6) times to better see the problem.
    I did not select to print a background in the print dialogue.
    Does not matter if PS 32bit or 64 bit is used.
    OS is Snow Leopard 10.6.4
    (Rosetta is installed, but should not be needed)
    So, has anybody had similar problems?
    Is there a solution?

    Look at this new driver update..  Will test as soon as my new cartridges arrive..
    Drivers & Support: Epson Stylus Pro 3800
    Back to all support options for Epson Stylus Pro 3800
    DownloadMac OS X Common Updater  {v.5.0:} 28-Dec-2010, 35.0MBs
    Operating Systems:
    Mac OS X - PowerPC, Mac OS X - Intel
    Languages:
    English, Français, Nederlands, Deutsch, Español, Italiano, Portugues
    Products:
    Epson Stylus Pro 11880, Epson Stylus Pro 3800, Epson Stylus Pro 3880, Epson Stylus Pro 4000, Epson Stylus Pro 4400, Epson Stylus Pro 4450, Epson Stylus Pro 4800, Epson Stylus Pro 4880, Epson Stylus Pro 4900, Epson Stylus Pro 7400, Epson Stylus Pro 7450, Epson Stylus Pro 7600, Epson Stylus Pro 7700, Epson Stylus Pro 7800, Epson Stylus Pro 7880, Epson Stylus Pro 7890, Epson Stylus Pro 7900, Epson Stylus Pro 9400, Epson Stylus Pro 9450, Epson Stylus Pro 9600, Epson Stylus Pro 9700, Epson Stylus Pro 9800, Epson Stylus Pro 9880, Epson Stylus Pro 9890, Epson Stylus Pro 9900
    WHQL Certified:
    No
    File Format:
    DMG
    Additional Information:
    Improvements:
    Improved behaviour when printing on custom media.
    Improved printer pool function.
    Improved empty cartridge display in the driver utility panel

  • Having problem printing to HP Laserjet 4200 with SL

    Please help:( I am unable to print to my hp laserjet 4200. I noticed the problem after installing SL. I receive the message "unable to connect to printer". Any suggestions? Bear with me, I am not an IT wizard.
    Thanks!

    I had the same problem with a HP 4000 laser jet & SL, this is how I solved it
    http://www.macworld.com/article/142631/2009/09/snowleopard_printing.html

  • Printing Crystal 11.5 R2 with VB6 Directly to Printer

    Post Author: fferguson
    CA Forum: Other
    Hi,
    Does anyone know how to correctly supress the report prompting when printing directly to a printer?
    I can see the correct paramaters being passed, but I still get prompted for paramaters after selecting the printer. (My code below)
    Private Sub ApplyParameters(ByRef CRXReport As CRAXDRT.report, ByVal param As String)
      Dim CRXTables As CRAXDRT.DatabaseTables  Dim crxTable As CRAXDRT.DatabaseTable  Dim CRXSections As CRAXDRT.Sections  Dim CRXSection As CRAXDRT.Section  Dim CRXSubreportObj As CRAXDRT.SubreportObject  Dim CRXReportObjects As CRAXDRT.ReportObjects  Dim CRXSubreport As CRAXDRT.report  Dim CRXReportObject As Object    Dim CRXParamDefs As CRAXDRT.ParameterFieldDefinitions  Dim CRXParamDef As CRAXDRT.ParameterFieldDefinition  Set CRXParamDefs = CRXReport.ParameterFields
      Dim strParameters As String  Dim index As Long  Dim strParValPair() As String  Dim strVal() As String    strParameters = param    'Apply the parameters  strParValPair = Split(strParameters, "|", , vbTextCompare)        For Each CRXParamDef In CRXParamDefs    For index = 0 To UBound(strParValPair)      If InStr(strParValPair(index), "=") > 0 Then        strVal = Split(strParValPair(index), "=", , vbTextCompare)        If UCase(CRXParamDef.ParameterFieldName) = UCase(strVal(0)) Then        'auto type conversion does not seem to work with Crystal parameters          Select Case CRXReport.ParameterFields.GetItemByName(strVal(0)).ValueType            Case crBooleanField '9              CRXReport.ParameterFields.GetItemByName(strVal(0)).SetCurrentValue (CBool(strVal(1)))            Case crNumberField '7              CRXReport.ParameterFields.GetItemByName(strVal(0)).SetCurrentValue (CLng(strVal(1)))            Case crDateField '10              CRXReport.ParameterFields.GetItemByName(strVal(0)).SetCurrentValue (CDate(strVal(1)))            Case crTimeField '11              CRXReport.ParameterFields.GetItemByName(strVal(0)).SetCurrentValue (CDate(strVal(1)))            Case Else              CRXReport.ParameterFields.GetItemByName(strVal(0)).SetCurrentValue (strVal(1))          End Select        End If      End If    Next index  Next CRXParamDef    'Set params on subreports where params are not linked  Set CRXSections = CRXReport.Sections  For Each CRXSection In CRXSections    Set CRXReportObjects = CRXSection.ReportObjects      For Each CRXReportObject In CRXReportObjects        If CRXReportObject.Kind = crSubreportObject Then 'type = 5          Set CRXSubreportObj = CRXReportObject          Set CRXSubreport = CRXSubreportObj.OpenSubreport          Call ApplyParameters(CRXSubreport, strParameters)        End If    Next CRXReportObject  Next CRXSection  End Sub

    Hello, Chuck;
    Oracle 11g is not tested with Crystal Reports XI R2 (See Platforms.txt). That said it should probably work.
    What version of the Oracle client is installed on your application system? It should also be Oracle 11g.
    What error are you getting?
    Are you using the "Microsoft OLEDB provider for Oracle" or the "Oracle Provider for OLEDB"?
    Have you tested the connection to Oracle 11g in the Crystal Reports designer?
    If you save a copy of your report and change the connection to Oracle Native or ODBC to Oracle, does it work? That will eliminate the crdb_ado.dll driver from the picture.
    Elaine

  • GPIB Instrument control with VB6

    I have recently decided to migrate from labVIEW to Visual Basic, as my applications are becoming more and more demanding. I have Visual Studio 6 for Visual Basic, and I have no problem coding and creating interfaces, but I have no idea where to start as far as communicating with my instruments over GPIB.
    I have NI-DAQ for Windows version 6.9.2 installed and apparently it contains support for Visual Basic, although I can't figure out what that support is... are there librarys that I can include and call to? If so, how do I do this? Is it possible to communicate with my instruments without getting the NI Measurement Studio for VB?
    Thanks everyone

    Hi,
    You should be able to program using Visual Basic without any issues. There are examples already created that should have installed on your system in C:\Program Files\National Instruments\NI-488.2\Languages\Visual Basic\. In that directory is the language interface files and some good examples.
    Hope this helps out!
    Aaron K.
    Application Engineer
    National Instruments

  • Problem printing PDF in B&W with Safari?

    Hi, here is my printing challenge:  when I download PDF from Safari (now on Mountain Lion) and I try to print it black and white it keeps printing in color.
    To print I am using the "new" translucent save and print menu that appears at the bottom of the page of the pdf.
    I looked into the set up in the menu printer options and set it many times to to B&W but it still keep printing in color.
    I am using an HP laser printer.  Anyone has ideas how to solve this?  Thanks.  

    Matthaus,
    Welcome to the forums! As D said in this thread: http://discussions.apple.com/message.jspa?messageID=9165237#9165237
    "You can print in grayscale from an HP print dialog box. I don't have the same printer but the options should be similar. Click the Triangle beside the Printer dropdown menu (if the printer options are not showing.) This should expand the dialog. There should be a dropdown that says Firefox, click it and select Paper Type/Quality. The first tab should be Paper. Select the dropdown for Color and select Grayscale.
    If the above isn't the same as yours, there still should be the preference somewhere in the Printer Options. Hopefully, that will work for you.
    D. "
    Or You could always: Go to print like you normally would but instead of hitting print click on the (PDF) button near the bottom. From the list it show select (Save as PDF...). Now I would save it to the desktop for easier finding. From there open it in (Preview) and do a quick (Save As). In the little window that opens you will see a (Quartz Filter:) select (Gray Tone) from the drop down list. Click save and then print the gray toned PDF you just made.
    Hope that helps,
    Weston

  • Windows Phone - Cannot bind custom user controll with listview item source property

    It is Windows Phone 8.1 (runtime)
    I have some problem of binding custom user controll with list of data. I'll make it simple as I can.
    My problem is that somehow if I use DataBind {Binding Something} inside my custom controll it will not work.
    I need to transfer binded data (string) to custom controll.
    It is strange that if I do not use DataBind, it will work normally. Eg MyCustomControllParameter = "some string" (in my example 'BindingTextValue' property)
    Does anyone Know how to bind custom user controll with inside ListView with DataTemplate.
    Assume this:
    XAML Test-Main page
    <Grid  Background="Black">        <ListView x:Name="TestList" Background="#FFEAEAEA">                    <ListView.ItemTemplate>                <DataTemplate>                    <Grid Background="#FF727272">                        <local:TextBoxS BindingTextValue="{Binding Tag, FallbackValue='aSource'}" local:TextBoxS>                    </Grid>                </DataTemplate>            </ListView.ItemTemplate>        </ListView>    </Grid>
    XAML Test-Main page c#
    public sealed partial class MainPage : Page    {        List<TTag> tags = new List<TTag>();        public MainPage()        {            this.InitializeComponent();            this.NavigationCacheMode = NavigationCacheMode.Required;        }        public class TTag        {            public string Tag { get; set; }        }        private void InitializeAppData()        {            TTag tag = new TTag() { Tag = "hello world" };            tags.Add(tag);            tags.Add(tag);            tags.Add(tag);            TestList.ItemsSource = tags;        }             protected override void OnNavigatedTo(NavigationEventArgs e)        {            InitializeAppData();        }           }
    User Control XAML:
      <UserControl    x:Class="CustomControllTest.TextBoxS"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:local="using:CustomControllTest"    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d"    d:DesignHeight="300"    d:DesignWidth="400">      <Grid x:Name="LayoutRoot" Background="#FF4F4F4F"   >        <RichTextBlock x:Name="MyTestBlock">        </RichTextBlock>    </Grid></UserControl>
    User Control c#
    public TextBoxS()       {            this.InitializeComponent();            LayoutRoot.DataContext = this;        }        public static readonly DependencyProperty BindingTextValueProperty = DependencyProperty.Register(                                         "BindingTextValue",                                         typeof(string),                                         typeof(TextBoxS),                                         new PropertyMetadata(default(string)));        public string BindingTextValue        {            get            {                return GetValue(BindingTextValueProperty) as string;            }            set            {                SetValue(BindingTextValueProperty, value);                //This method adds some custom logic into RichTextBlock, pointed correctly                SetupBox(value);            }        }
    Thanks for helping ;)

    If you use a built-in control rather than your custom control, does binding work? You should verify that first.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Parental control problem printing to a shared printer

    Hello chaps,
    Here's an annoying one.
    Two Macs, both running OS X 10.6.3. They are both on a wireless LAN, once has a Canon Pixma 4200 printer directly connected via USB with Printer Sharing turned on - Everyone allowed to print.
    The problem: When my wife prints to the shared printer from her machine it works fine. When my kids try to print from their Parental Control-controlled account it doesn't.
    The job comes up in the print queue but with On hold (authentication required) next to it.
    The account has the box ticked to allow administration of Printers.
    I can find no place to Authenticate, to get the job to print, even via the CUPS Web interface (that I'm not an expert in).
    All clues gratefully received.
    Anyone have anu clues
    Message was edited by: Chris Noble

    Hello chaps,
    Here's an annoying one.
    Two Macs, both running OS X 10.6.3. They are both on a wireless LAN, once has a Canon Pixma 4200 printer directly connected via USB with Printer Sharing turned on - Everyone allowed to print.
    The problem: When my wife prints to the shared printer from her machine it works fine. When my kids try to print from their Parental Control-controlled account it doesn't.
    The job comes up in the print queue but with On hold (authentication required) next to it.
    The account has the box ticked to allow administration of Printers.
    I can find no place to Authenticate, to get the job to print, even via the CUPS Web interface (that I'm not an expert in).
    All clues gratefully received.
    Anyone have anu clues
    Message was edited by: Chris Noble

Maybe you are looking for