Lines Matching refs:aPrinter

322                 Printer aPrinter;  in initialize()  local
324 aPrinter.m_aInfo = m_aGlobalDefaults; in initialize()
328 aPrinter.m_aInfo.m_aPrinterName = aPrinterName; in initialize()
329aPrinter.m_aInfo.m_aDriverName = OStringToOUString(aValue.copy(0, nNamePos), RTL_TEXTENCODING_UTF8… in initialize()
334 if( !aPrinter.m_aInfo.m_aDriverName.startsWith( "CUPS:" ) ) in initialize()
336aPrinter.m_aInfo.m_pParser = PPDParser::getParser( aPrinter.m_aInfo.m_aDriverName ); in initialize()
337 aPrinter.m_aInfo.m_aContext.setParser( aPrinter.m_aInfo.m_pParser ); in initialize()
341 if( ! aPrinter.m_aInfo.m_pParser ) in initialize()
353 …const PPDKey* pPrinterKey = pDefKey ? aPrinter.m_aInfo.m_pParser->getKey( pDefKey->getKey() ) : nu… in initialize()
362aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, pPrinterValue ); in initialize()
365 aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, nullptr ); in initialize()
383 aPrinter.m_aInfo.m_aCommand = OStringToOUString(aValue, RTL_TEXTENCODING_UTF8); in initialize()
387 aPrinter.m_aInfo.m_aQuickCommand = OStringToOUString(aValue, RTL_TEXTENCODING_UTF8); in initialize()
390 aPrinter.m_aInfo.m_aFeatures = OStringToOUString(aValue, RTL_TEXTENCODING_UTF8); in initialize()
398 aPrinter.m_aInfo.m_aLocation = OStringToOUString(aValue, RTL_TEXTENCODING_UTF8); in initialize()
401 aPrinter.m_aInfo.m_aComment = OStringToOUString(aValue, RTL_TEXTENCODING_UTF8); in initialize()
405 aPrinter.m_aInfo.m_nCopies = aValue.toInt32(); in initialize()
409aPrinter.m_aInfo.m_eOrientation = aValue.equalsIgnoreAsciiCase("Landscape") ? orientation::Landsca… in initialize()
415 aPrinter.m_aInfo.m_nLeftMarginAdjust = aValue.getToken(0, ',', nIdx).toInt32(); in initialize()
416 aPrinter.m_aInfo.m_nRightMarginAdjust = aValue.getToken(0, ',', nIdx).toInt32(); in initialize()
417 aPrinter.m_aInfo.m_nTopMarginAdjust = aValue.getToken(0, ',', nIdx).toInt32(); in initialize()
418aPrinter.m_aInfo.m_nBottomMarginAdjust = aValue.getToken(0, ',', nIdx).toInt32(); in initialize()
423 aPrinter.m_aInfo.m_nColorDepth = aValue.toInt32(); in initialize()
427 aPrinter.m_aInfo.m_nColorDevice = aValue.toInt32(); in initialize()
431 aPrinter.m_aInfo.m_nPSLevel = aValue.toInt32(); in initialize()
435 aPrinter.m_aInfo.m_nPDFDevice = aValue.toInt32(); in initialize()
442 if( aKey.startsWith("PPD_") && aPrinter.m_aInfo.m_pParser ) in initialize()
445 …const PPDKey* pKey = aPrinter.m_aInfo.m_pParser->getKey(OStringToOUString(aKey.copy(4), RTL_TEXTEN… in initialize()
448 aPrinter.m_aInfo.m_aContext. in initialize()
456 setDefaultPaper( aPrinter.m_aInfo.m_aContext ); in initialize()
459 aPrinter.m_aInfo.resolveDefaultBackend(); in initialize()
462 FileBase::getFileURLFromSystemPath( aFile.PathToFileName(), aPrinter.m_aFile ); in initialize()
467 aPrinter.m_aAlternateFiles = find_it->second.m_aAlternateFiles; in initialize()
468 aPrinter.m_aAlternateFiles.insert( find_it->second.m_aFile ); in initialize()
470 m_aPrinters[ aPrinterName ] = aPrinter; in initialize()
523 Printer aPrinter; in initialize() local
526 aPrinter.m_aInfo = aMergeInfo; in initialize()
527 aPrinter.m_aInfo.m_aPrinterName = aPrinterName; in initialize()
528 aPrinter.m_aInfo.m_aCommand = aCmd; in initialize()
529 aPrinter.m_aInfo.m_aComment = printQueue.m_aComment; in initialize()
530 aPrinter.m_aInfo.m_aLocation = printQueue.m_aLocation; in initialize()
532 m_aPrinters[ aPrinterName ] = aPrinter; in initialize()